import Vue from 'vue'
import Vuex from 'vuex'

import moduleMusicList from './MusicList.js'
import modulePlayVideo from './PlayVideo.js'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    // 歌单子模块
    'music-list': moduleMusicList,
    // 播放器子模块
    'play-video': modulePlayVideo
  }
})